package com.neusoft.yiyang.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 任务状态枚举（对应care_task表的status字段）
 */
@Getter
@AllArgsConstructor
public enum TaskStatus implements BaseEnum {
    pending("pending", "待执行"),
    in_progress("in_progress", "进行中"),
    completed("completed", "已完成"),
    abnormal("abnormal", "异常"),
    cancelled("cancelled", "已取消");

    private final String value;
    private final String description;

    @Override
    public String getValue() {
        return value;
    }
}